﻿using Kstopa.WebApi.Core.Middlewares;
using Microsoft.AspNetCore.Builder;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Kstopa.WebApi.Core.Extensions
{
    public static class ApiInfoBuilderExtensions
    {
        public static IApplicationBuilder UseYiApiHandlinge([NotNull] this IApplicationBuilder app)
        {
            app.UseMiddleware<ApiInfoMiddleware>();
            return app;

        }
    }
}
